ToString - JSONObject

Note: This statement is not available in the Add Statement dialog box or the Statements pane.

Converts a JSONObject type to a string and returns it.

Syntax

ToString(PrettyPrint)

Arguments

Argument Description
PrettyPrint True adds white space to the string so results are easier to read. False does not add white space. If not specified, False is used.

Supported objects

JSONObject

Return value

Value Description
Value Converted string.

Example

PrintLn(jsonObject.ToString(True))